AppleEvents

 HTML LinkChecker has simple support for AppleEvents, a powerful way for applications to communicate with each others, built-in into system 7.0 and later. For example, the program has support for GURL-events sent by InternetConfig (Stairways Software). Choose the program as a helper for "validate" in InternetConfig, and then click a link like <validate:///HardDrive:My folder:My page>. Someone may find it useful, I don't know... If you're not a programmer, you can live happily without reading this chapter.

 PageSpinner, by Jerry Åman, is another program that sends AppleEvents to HTML LinkChecker. If any other author would like to co-operate with HTML LinkChecker, please let me know and I'll include other AppleEvents as well in future versions of the program. The ones described below are just a few examples that I've added (with help from Jerry Åman -thanks!).

 None of the events will reply anything to the sender, and there is no way to get the result via an AppleEvent at this time. If anyone is interested in such a feature, I will include it in future releases of HTML LinkChecker.

Standard events

 The program supports the standard events 'oapp', 'quit', 'odoc', 'pdoc' and 'actv'. The 'odoc' event will add the files defined in the AppleEvent data to the list of files to check, but it will not search them. Print ('pdoc') is only applicable in the result log.

Program specific events

 Both 'GURL' and 'Sdoc' (for Search doc) works like 'odoc', but they will also start a search procedure (just like clicking the 'Search'-button). The data sent via a GURL-event must start with 'validate:///' or 'validate:'.

 Neither 'odoc' or 'Sdoc' will clear the list of files that should be searched before adding new ones. To to this, first send the 'ClSc' event. When files has been added to the list, for example using 'odoc', you can start the searching procedure by sending 'Srch'. Finally there are some other exprimental events not described here.